//go:build wireinject
// +build wireinject

package fitness

import (
	"github.com/google/wire"
	"organoid_public/domain/fitness/service"
	"organoid_public/infrastructure/db"
	"organoid_public/infrastructure/db/fitness"
	"organoid_public/pkg/logger"
)

func WireApp(db db.DefaultDb, log logger.Logger) (*UseCase, func(), error) {
	panic(wire.Build(fitness.RepositoryProvider, service.FitnessServiceProvider, NewUseCase))
}
